/*****************************************************************************
 *
 * Copyright (C) 2006 Atmel Corporation
 *
 ****************************************************************************/
#ifndef AVR32_AP7000_H_INCLUDED
#define AVR32_AP7000_H_INCLUDED


/* Core */
#include "avr32/core_c3_1.h"
/* OCD */
#include "avr32/ocd_o3_1.h"

/* CORE */ 
#define AVR32_CORE_COMPARE_IRQ             0
#define AVR32_CORE_PERFCTR_IRQ             1
#define AVR32_CORE_JTAG_DR_MSB             34
#define AVR32_CORE_PORT_MSB                195
#define AVR32_CORE_SCAN_CHAIN_MSB          19
#define AVR32_CORE_SCAN_CLOCK_MSB          15


/* OCD */ 

/* Memories */
#define AVR32_EBI0_ADDRESS                 0x00000000
#define AVR32_EBI0_SIZE                    0x04000000
#define AVR32_EBI0                         ((unsigned char *)AVR32_MEM_EBI0_ADDRESS)
#define AVR32_EBI1_ADDRESS                 0x04000000
#define AVR32_EBI1_SIZE                    0x04000000
#define AVR32_EBI1                         ((unsigned char *)AVR32_MEM_EBI1_ADDRESS)
#define AVR32_EBI2_ADDRESS                 0x08000000
#define AVR32_EBI2_SIZE                    0x04000000
#define AVR32_EBI2                         ((unsigned char *)AVR32_MEM_EBI2_ADDRESS)
#define AVR32_EBI3_ADDRESS                 0x0C000000
#define AVR32_EBI3_SIZE                    0x04000000
#define AVR32_EBI3                         ((unsigned char *)AVR32_MEM_EBI3_ADDRESS)
#define AVR32_EBI4A_ADDRESS                0x10000000
#define AVR32_EBI4A_SIZE                   0x04000000
#define AVR32_EBI4A                        ((unsigned char *)AVR32_MEM_EBI4A_ADDRESS)
#define AVR32_EBI4B_ADDRESS                0x14000000
#define AVR32_EBI4B_SIZE                   0x04000000
#define AVR32_EBI4B                        ((unsigned char *)AVR32_MEM_EBI4B_ADDRESS)
#define AVR32_EBI4C_ADDRESS                0x18000000
#define AVR32_EBI4C_SIZE                   0x04000000
#define AVR32_EBI4C                        ((unsigned char *)AVR32_MEM_EBI4C_ADDRESS)
#define AVR32_EBI4D_ADDRESS                0x1C000000
#define AVR32_EBI4D_SIZE                   0x04000000
#define AVR32_EBI4D                        ((unsigned char *)AVR32_MEM_EBI4D_ADDRESS)
#define AVR32_EBI5_ADDRESS                 0x20000000
#define AVR32_EBI5_SIZE                    0x04000000
#define AVR32_EBI5                         ((unsigned char *)AVR32_MEM_EBI5_ADDRESS)
#define AVR32_SRAM0_ADDRESS                0x24000000
#define AVR32_SRAM0_SIZE                   0x00004000
#define AVR32_SRAM0                        ((unsigned char *)AVR32_MEM_SRAM0_ADDRESS)
#define AVR32_SRAM1_ADDRESS                0x24004000
#define AVR32_SRAM1_SIZE                   0x00004000
#define AVR32_SRAM1                        ((unsigned char *)AVR32_MEM_SRAM1_ADDRESS)

/* Interrupt Controller */
#include "avr32/intc.h"
#define AVR32_INTC_ADDRESS                 0xFFF00400
#define AVR32_INTC                         (*((volatile avr32_intc_t*)AVR32_INTC_ADDRESS))
#define AVR32_INTC_NUM_INT_GRPS            33
#define AVR32_INTC_NUM_IRQS_PER_GRP0       2
#define AVR32_INTC_NUM_IRQS_PER_GRP1       6
#define AVR32_INTC_NUM_IRQS_PER_GRP10      1
#define AVR32_INTC_NUM_IRQS_PER_GRP11      1
#define AVR32_INTC_NUM_IRQS_PER_GRP12      1
#define AVR32_INTC_NUM_IRQS_PER_GRP13      1
#define AVR32_INTC_NUM_IRQS_PER_GRP14      1
#define AVR32_INTC_NUM_IRQS_PER_GRP15      1
#define AVR32_INTC_NUM_IRQS_PER_GRP16      1
#define AVR32_INTC_NUM_IRQS_PER_GRP17      1
#define AVR32_INTC_NUM_IRQS_PER_GRP18      1
#define AVR32_INTC_NUM_IRQS_PER_GRP19      4
#define AVR32_INTC_NUM_IRQS_PER_GRP2       5
#define AVR32_INTC_NUM_IRQS_PER_GRP20      1
#define AVR32_INTC_NUM_IRQS_PER_GRP21      1
#define AVR32_INTC_NUM_IRQS_PER_GRP22      3
#define AVR32_INTC_NUM_IRQS_PER_GRP23      3
#define AVR32_INTC_NUM_IRQS_PER_GRP24      1
#define AVR32_INTC_NUM_IRQS_PER_GRP25      1
#define AVR32_INTC_NUM_IRQS_PER_GRP26      1
#define AVR32_INTC_NUM_IRQS_PER_GRP27      1
#define AVR32_INTC_NUM_IRQS_PER_GRP28      1
#define AVR32_INTC_NUM_IRQS_PER_GRP29      1
#define AVR32_INTC_NUM_IRQS_PER_GRP3       1
#define AVR32_INTC_NUM_IRQS_PER_GRP30      1
#define AVR32_INTC_NUM_IRQS_PER_GRP31      1
#define AVR32_INTC_NUM_IRQS_PER_GRP32      1
#define AVR32_INTC_NUM_IRQS_PER_GRP4       1
#define AVR32_INTC_NUM_IRQS_PER_GRP5       1
#define AVR32_INTC_NUM_IRQS_PER_GRP6       1
#define AVR32_INTC_NUM_IRQS_PER_GRP7       1
#define AVR32_INTC_NUM_IRQS_PER_GRP8       1
#define AVR32_INTC_NUM_IRQS_PER_GRP9       1
#define AVR32_INTC_NUM_NMI                 1


/* AC97C */
#include "avr32/ac97c_210.h"

/* AUDIOC */ 
#define AVR32_AUDIOC_ADDRESS               0xFFF02800
#define AVR32_AUDIOC                       (*((volatile avr32_ac97c_t*)AVR32_AUDIOC_ADDRESS))
#define AVR32_AUDIOC_IRQ                   928
#define AVR32_AUDIOC_APB_AUDIOC_PADDR_MSB  0
#define AVR32_AUDIOC_AUDIOC_DMA_CHANNELS   0
#define AVR32_AUDIOC_AUDIOC_DMA_SIZE_SIZE  0
#define AVR32_AUDIOC_PDATA_SIZE            0
#define AVR32_AUDIOC_SCLK_0_PIN            54
#define AVR32_AUDIOC_SCLK_0_FUNCTION       1
#define AVR32_AUDIOC_SDI_0_PIN             55
#define AVR32_AUDIOC_SDI_0_FUNCTION        1
#define AVR32_AUDIOC_SDO_0_PIN             52
#define AVR32_AUDIOC_SDO_0_FUNCTION        1
#define AVR32_AUDIOC_SYNC_0_PIN            53
#define AVR32_AUDIOC_SYNC_0_FUNCTION       1



/* DAC */
#include "avr32/dac_101.h"

/* DAC */ 
#define AVR32_DAC_ADDRESS                  0xFFF02000
#define AVR32_DAC                          (*((volatile avr32_dac_t*)AVR32_DAC_ADDRESS))
#define AVR32_DAC_IRQ                      864
#define AVR32_DAC_APB_DAC_PADDR_MSB        0
#define AVR32_DAC_PDATA_SIZE               0
#define AVR32_DAC_DATA_1_PIN               52
#define AVR32_DAC_DATA_1_FUNCTION          0
#define AVR32_DAC_DATA_0_PIN               53
#define AVR32_DAC_DATA_0_FUNCTION          0
#define AVR32_DAC_DATAN_1_PIN              54
#define AVR32_DAC_DATAN_1_FUNCTION         0
#define AVR32_DAC_DATAN_0_PIN              55
#define AVR32_DAC_DATAN_0_FUNCTION         0



/* DW_DMAC */
#include "avr32/dw_dmac_206a.h"

/* DMAC */ 
#define AVR32_DMAC_ADDRESS                 0xFF200000
#define AVR32_DMAC                         (*((volatile avr32_dw.dmac_t*)AVR32_DMAC_ADDRESS))
#define AVR32_DMAC_BLOCK_IRQ               64
#define AVR32_DMAC_DSTT_IRQ                65
#define AVR32_DMAC_ERR_IRQ                 66
#define AVR32_DMAC_SRCT_IRQ                67
#define AVR32_DMAC_TFR_IRQ                 68
#define AVR32_DMAC_CH_AUDIOC_RXA           3
#define AVR32_DMAC_CH_AUDIOC_RXB           5
#define AVR32_DMAC_CH_AUDIOC_TXA           4
#define AVR32_DMAC_CH_AUDIOC_TXB           6
#define AVR32_DMAC_CH_DAC_TX               2
#define AVR32_DMAC_CH_EXTRQ0               7
#define AVR32_DMAC_CH_EXTRQ1               8
#define AVR32_DMAC_CH_EXTRQ2               9
#define AVR32_DMAC_CH_EXTRQ3               10
#define AVR32_DMAC_CH_MMCI_RX              0
#define AVR32_DMAC_CH_MMCI_TX              1
#define AVR32_DMAC_DMAC_HS_INT_MSB         3
#define AVR32_DMAC_EXT_DMARQ_MSB           3
#define AVR32_DMAC_MAX_BLK_SIZE            4095
#define AVR32_DMAC_NUM_CHANNELS            3
#define AVR32_DMAC_DMARQ_0_PIN             56
#define AVR32_DMAC_DMARQ_0_FUNCTION        1
#define AVR32_DMAC_DMARQ_1_PIN             57
#define AVR32_DMAC_DMARQ_1_FUNCTION        1
#define AVR32_DMAC_DMARQ_2_PIN             69
#define AVR32_DMAC_DMARQ_2_FUNCTION        1
#define AVR32_DMAC_DMARQ_3_PIN             70
#define AVR32_DMAC_DMARQ_3_FUNCTION        1



/* ECC */
#include "avr32/ecc_100.h"

/* ECC */ 
#define AVR32_ECC_ADDRESS                  0xFFF03C00
#define AVR32_ECC                          (*((volatile avr32_ecc_t*)AVR32_ECC_ADDRESS))
#define AVR32_ECC_HADDR_MSB                0
#define AVR32_ECC_HBURST_MSB               0
#define AVR32_ECC_HDATA_MSB                0
#define AVR32_ECC_HMATRIX_NR               4
#define AVR32_ECC_HPROT_MSB                0
#define AVR32_ECC_HRESP_MSB                0
#define AVR32_ECC_HSIZE_MSB                0
#define AVR32_ECC_HTRANS_MSB               0
#define AVR32_ECC_PADDR_MSB                0
#define AVR32_ECC_PDATA_MSB                0



/* HEBI */

/* HEBI */ 
#define AVR32_HEBI_CF0_CS                  4
#define AVR32_HEBI_CF1_CS                  5
#define AVR32_HEBI_HADDR_MSB               0
#define AVR32_HEBI_HBURST_MSB              0
#define AVR32_HEBI_HDATA_MSB               0
#define AVR32_HEBI_HEBI_CS_MSB             5
#define AVR32_HEBI_HMATRIX_NR              4
#define AVR32_HEBI_HPROT_MSB               0
#define AVR32_HEBI_HRESP_MSB               0
#define AVR32_HEBI_HSIZE_MSB               0
#define AVR32_HEBI_HTRANS_MSB              0
#define AVR32_HEBI_NAND_CS                 3
#define AVR32_HEBI_PADDR_MSB               0
#define AVR32_HEBI_PDATA_MSB               0
#define AVR32_HEBI_SDRAM_CS                1
#define AVR32_HEBI_SMC0_CS                 0
#define AVR32_HEBI_SMC1_CS                 1
#define AVR32_HEBI_SMC2_CS                 2
#define AVR32_HEBI_SMC3_CS                 3
#define AVR32_HEBI_SMC4_CS                 4
#define AVR32_HEBI_SMC5_CS                 5
#define AVR32_HEBI_ADDR_23_PIN             144
#define AVR32_HEBI_ADDR_23_FUNCTION        0
#define AVR32_HEBI_ADDR_24_PIN             145
#define AVR32_HEBI_ADDR_24_FUNCTION        0
#define AVR32_HEBI_ADDR_25_PIN             146
#define AVR32_HEBI_ADDR_25_FUNCTION        0
#define AVR32_HEBI_CFCE1_0_PIN             147
#define AVR32_HEBI_CFCE1_0_FUNCTION        0
#define AVR32_HEBI_CFCE2_0_PIN             148
#define AVR32_HEBI_CFCE2_0_FUNCTION        0
#define AVR32_HEBI_CFRNW_0_PIN             151
#define AVR32_HEBI_CFRNW_0_FUNCTION        0
#define AVR32_HEBI_DATA_16_PIN             128
#define AVR32_HEBI_DATA_16_FUNCTION        0
#define AVR32_HEBI_DATA_17_PIN             129
#define AVR32_HEBI_DATA_17_FUNCTION        0
#define AVR32_HEBI_DATA_18_PIN             130
#define AVR32_HEBI_DATA_18_FUNCTION        0
#define AVR32_HEBI_DATA_19_PIN             131
#define AVR32_HEBI_DATA_19_FUNCTION        0
#define AVR32_HEBI_DATA_20_PIN             132
#define AVR32_HEBI_DATA_20_FUNCTION        0
#define AVR32_HEBI_DATA_21_PIN             133
#define AVR32_HEBI_DATA_21_FUNCTION        0
#define AVR32_HEBI_DATA_22_PIN             134
#define AVR32_HEBI_DATA_22_FUNCTION        0
#define AVR32_HEBI_DATA_23_PIN             135
#define AVR32_HEBI_DATA_23_FUNCTION        0
#define AVR32_HEBI_DATA_24_PIN             136
#define AVR32_HEBI_DATA_24_FUNCTION        0
#define AVR32_HEBI_DATA_25_PIN             137
#define AVR32_HEBI_DATA_25_FUNCTION        0
#define AVR32_HEBI_DATA_26_PIN             138
#define AVR32_HEBI_DATA_26_FUNCTION        0
#define AVR32_HEBI_DATA_27_PIN             139
#define AVR32_HEBI_DATA_27_FUNCTION        0
#define AVR32_HEBI_DATA_28_PIN             140
#define AVR32_HEBI_DATA_28_FUNCTION        0
#define AVR32_HEBI_DATA_29_PIN             141
#define AVR32_HEBI_DATA_29_FUNCTION        0
#define AVR32_HEBI_DATA_30_PIN             142
#define AVR32_HEBI_DATA_30_FUNCTION        0
#define AVR32_HEBI_DATA_31_PIN             143
#define AVR32_HEBI_DATA_31_FUNCTION        0
#define AVR32_HEBI_NCS_4_PIN               149
#define AVR32_HEBI_NCS_4_FUNCTION          0
#define AVR32_HEBI_NCS_5_PIN               150
#define AVR32_HEBI_NCS_5_FUNCTION          0
#define AVR32_HEBI_NCS_2_PIN               153
#define AVR32_HEBI_NCS_2_FUNCTION          0
#define AVR32_HEBI_NWAIT_0_PIN             152
#define AVR32_HEBI_NWAIT_0_FUNCTION        0
#define AVR32_HEBI_SDCS_0_PIN              154
#define AVR32_HEBI_SDCS_0_FUNCTION         0



/* HISI */
#include "avr32/hisi_005.h"

/* HISI */ 
#define AVR32_HISI_ADDRESS                 0xFFF02C00
#define AVR32_HISI                         (*((volatile avr32_hisi_t*)AVR32_HISI_ADDRESS))
#define AVR32_HISI_IRQ                     960
#define AVR32_HISI_APB_HISI_PADDR_MSB      0
#define AVR32_HISI_HADDR_SIZE              0
#define AVR32_HISI_HBURST_SIZE             0
#define AVR32_HISI_HDATA_SIZE              0
#define AVR32_HISI_HISI_DATA_WIDTH         12
#define AVR32_HISI_HRESP_SIZE              0
#define AVR32_HISI_HSIZE_SIZE              0
#define AVR32_HISI_HTRANS_SIZE             0
#define AVR32_HISI_PDATA_SIZE              0
#define AVR32_HISI_DATA_0_PIN              32
#define AVR32_HISI_DATA_0_FUNCTION         0
#define AVR32_HISI_DATA_1_PIN              33
#define AVR32_HISI_DATA_1_FUNCTION         0
#define AVR32_HISI_DATA_2_PIN              34
#define AVR32_HISI_DATA_2_FUNCTION         0
#define AVR32_HISI_DATA_3_PIN              35
#define AVR32_HISI_DATA_3_FUNCTION         0
#define AVR32_HISI_DATA_4_PIN              36
#define AVR32_HISI_DATA_4_FUNCTION         0
#define AVR32_HISI_DATA_5_PIN              37
#define AVR32_HISI_DATA_5_FUNCTION         0
#define AVR32_HISI_DATA_6_PIN              38
#define AVR32_HISI_DATA_6_FUNCTION         0
#define AVR32_HISI_DATA_7_PIN              39
#define AVR32_HISI_DATA_7_FUNCTION         0
#define AVR32_HISI_DATA_8_PIN              43
#define AVR32_HISI_DATA_8_FUNCTION         1
#define AVR32_HISI_DATA_9_PIN              44
#define AVR32_HISI_DATA_9_FUNCTION         1
#define AVR32_HISI_DATA_10_PIN             45
#define AVR32_HISI_DATA_10_FUNCTION        1
#define AVR32_HISI_DATA_11_PIN             46
#define AVR32_HISI_DATA_11_FUNCTION        1
#define AVR32_HISI_HSYNC_0_PIN             40
#define AVR32_HISI_HSYNC_0_FUNCTION        0
#define AVR32_HISI_PCLK_0_PIN              42
#define AVR32_HISI_PCLK_0_FUNCTION         0
#define AVR32_HISI_VSYNC_0_PIN             41
#define AVR32_HISI_VSYNC_0_FUNCTION        0



/* HMATRIX */
#include "avr32/hmatrix2_220.h"

/* HMATRIX */ 
#define AVR32_HMATRIX_ADDRESS              0xFFF00800
#define AVR32_HMATRIX                      (*((volatile avr32_hmatrix_t*)AVR32_HMATRIX_ADDRESS))



/* HSDRAMC */
#include "avr32/hsdramc1_200.h"

/* HSDRAMC */ 
#define AVR32_HSDRAMC_ADDRESS              0xFFF03800
#define AVR32_HSDRAMC                      (*((volatile avr32_hsdramc_t*)AVR32_HSDRAMC_ADDRESS))
#define AVR32_HSDRAMC_IRQ                  1024
#define AVR32_HSDRAMC_HADDR_MSB            0
#define AVR32_HSDRAMC_HBURST_MSB           0
#define AVR32_HSDRAMC_HDATA_MSB            0
#define AVR32_HSDRAMC_HMATRIX_NR           4
#define AVR32_HSDRAMC_HPROT_MSB            0
#define AVR32_HSDRAMC_HRESP_MSB            0
#define AVR32_HSDRAMC_HSIZE_MSB            0
#define AVR32_HSDRAMC_HTRANS_MSB           0
#define AVR32_HSDRAMC_PADDR_MSB            0
#define AVR32_HSDRAMC_PDATA_MSB            0



/* HSMC */
#include "avr32/hsmc3_104.h"

/* HSMC */ 
#define AVR32_HSMC_ADDRESS                 0xFFF03400
#define AVR32_HSMC                         (*((volatile avr32_hsmc_t*)AVR32_HSMC_ADDRESS))
#define AVR32_HSMC_HADDR_MSB               0
#define AVR32_HSMC_HBURST_MSB              0
#define AVR32_HSMC_HDATA_MSB               0
#define AVR32_HSMC_HMATRIX_NR              4
#define AVR32_HSMC_HPROT_MSB               0
#define AVR32_HSMC_HRESP_MSB               0
#define AVR32_HSMC_HSIZE_MSB               0
#define AVR32_HSMC_HTRANS_MSB              0
#define AVR32_HSMC_PADDR_MSB               0
#define AVR32_HSMC_PDATA_MSB               0



/* LCDC */
#include "avr32/lcdc_17.h"

/* LCDC */ 
#define AVR32_LCDC_ADDRESS                 0xFF000000
#define AVR32_LCDC                         (*((volatile avr32_lcdc_t*)AVR32_LCDC_ADDRESS))
#define AVR32_LCDC_EOF_IRQ                 32
#define AVR32_LCDC_LN_IRQ                  33
#define AVR32_LCDC_LSTLN_IRQ               34
#define AVR32_LCDC_MER_IRQ                 35
#define AVR32_LCDC_OWR_IRQ                 36
#define AVR32_LCDC_UFLW_IRQ                37
#define AVR32_LCDC_LCDC_FIFOA_MSB          8
#define AVR32_LCDC_CC_0_0_PIN              83
#define AVR32_LCDC_CC_0_0_FUNCTION         0
#define AVR32_LCDC_CC_0_1_PIN              128
#define AVR32_LCDC_CC_0_1_FUNCTION         1
#define AVR32_LCDC_DATA_0_0_PIN            90
#define AVR32_LCDC_DATA_0_0_FUNCTION       0
#define AVR32_LCDC_DATA_1_0_PIN            91
#define AVR32_LCDC_DATA_1_0_FUNCTION       0
#define AVR32_LCDC_DATA_2_0_PIN            92
#define AVR32_LCDC_DATA_2_0_FUNCTION       0
#define AVR32_LCDC_DATA_3_0_PIN            93
#define AVR32_LCDC_DATA_3_0_FUNCTION       0
#define AVR32_LCDC_DATA_4_0_PIN            94
#define AVR32_LCDC_DATA_4_0_FUNCTION       0
#define AVR32_LCDC_DATA_5_PIN              95
#define AVR32_LCDC_DATA_5_FUNCTION         0
#define AVR32_LCDC_DATA_6_PIN              96
#define AVR32_LCDC_DATA_6_FUNCTION         0
#define AVR32_LCDC_DATA_7_PIN              97
#define AVR32_LCDC_DATA_7_FUNCTION         0
#define AVR32_LCDC_DATA_8_0_PIN            98
#define AVR32_LCDC_DATA_8_0_FUNCTION       0
#define AVR32_LCDC_DATA_9_0_PIN            99
#define AVR32_LCDC_DATA_9_0_FUNCTION       0
#define AVR32_LCDC_DATA_10_0_PIN           100
#define AVR32_LCDC_DATA_10_0_FUNCTION      0
#define AVR32_LCDC_DATA_11_0_PIN           101
#define AVR32_LCDC_DATA_11_0_FUNCTION      0
#define AVR32_LCDC_DATA_12_0_PIN           102
#define AVR32_LCDC_DATA_12_0_FUNCTION      0
#define AVR32_LCDC_DATA_13_PIN             103
#define AVR32_LCDC_DATA_13_FUNCTION        0
#define AVR32_LCDC_DATA_14_PIN             104
#define AVR32_LCDC_DATA_14_FUNCTION        0
#define AVR32_LCDC_DATA_15_PIN             105
#define AVR32_LCDC_DATA_15_FUNCTION        0
#define AVR32_LCDC_DATA_16_0_PIN           106
#define AVR32_LCDC_DATA_16_0_FUNCTION      0
#define AVR32_LCDC_DATA_17_0_PIN           107
#define AVR32_LCDC_DATA_17_0_FUNCTION      0
#define AVR32_LCDC_DATA_18_0_PIN           108
#define AVR32_LCDC_DATA_18_0_FUNCTION      0
#define AVR32_LCDC_DATA_19_0_PIN           109
#define AVR32_LCDC_DATA_19_0_FUNCTION      0
#define AVR32_LCDC_DATA_20_0_PIN           110
#define AVR32_LCDC_DATA_20_0_FUNCTION      0
#define AVR32_LCDC_DATA_21_0_PIN           111
#define AVR32_LCDC_DATA_21_0_FUNCTION      0
#define AVR32_LCDC_DATA_22_PIN             112
#define AVR32_LCDC_DATA_22_FUNCTION        0
#define AVR32_LCDC_DATA_23_PIN             113
#define AVR32_LCDC_DATA_23_FUNCTION        0
#define AVR32_LCDC_DATA_0_1_PIN            131
#define AVR32_LCDC_DATA_0_1_FUNCTION       1
#define AVR32_LCDC_DATA_1_1_PIN            132
#define AVR32_LCDC_DATA_1_1_FUNCTION       1
#define AVR32_LCDC_DATA_2_1_PIN            133
#define AVR32_LCDC_DATA_2_1_FUNCTION       1
#define AVR32_LCDC_DATA_3_1_PIN            134
#define AVR32_LCDC_DATA_3_1_FUNCTION       1
#define AVR32_LCDC_DATA_4_1_PIN            135
#define AVR32_LCDC_DATA_4_1_FUNCTION       1
#define AVR32_LCDC_DATA_8_1_PIN            136
#define AVR32_LCDC_DATA_8_1_FUNCTION       1
#define AVR32_LCDC_DATA_9_1_PIN            137
#define AVR32_LCDC_DATA_9_1_FUNCTION       1
#define AVR32_LCDC_DATA_10_1_PIN           138
#define AVR32_LCDC_DATA_10_1_FUNCTION      1
#define AVR32_LCDC_DATA_11_1_PIN           139
#define AVR32_LCDC_DATA_11_1_FUNCTION      1
#define AVR32_LCDC_DATA_12_1_PIN           140
#define AVR32_LCDC_DATA_12_1_FUNCTION      1
#define AVR32_LCDC_DATA_16_1_PIN           141
#define AVR32_LCDC_DATA_16_1_FUNCTION      1
#define AVR32_LCDC_DATA_17_1_PIN           142
#define AVR32_LCDC_DATA_17_1_FUNCTION      1
#define AVR32_LCDC_DATA_18_1_PIN           143
#define AVR32_LCDC_DATA_18_1_FUNCTION      1
#define AVR32_LCDC_DATA_19_1_PIN           144
#define AVR32_LCDC_DATA_19_1_FUNCTION      1
#define AVR32_LCDC_DATA_20_1_PIN           145
#define AVR32_LCDC_DATA_20_1_FUNCTION      1
#define AVR32_LCDC_DATA_21_1_PIN           146
#define AVR32_LCDC_DATA_21_1_FUNCTION      1
#define AVR32_LCDC_DVAL_0_0_PIN            87
#define AVR32_LCDC_DVAL_0_0_FUNCTION       0
#define AVR32_LCDC_DVAL_0_1_PIN            129
#define AVR32_LCDC_DVAL_0_1_FUNCTION       1
#define AVR32_LCDC_HSYNC_0_PIN             84
#define AVR32_LCDC_HSYNC_0_FUNCTION        0
#define AVR32_LCDC_MODE_0_0_PIN            88
#define AVR32_LCDC_MODE_0_0_FUNCTION       0
#define AVR32_LCDC_MODE_0_1_PIN            130
#define AVR32_LCDC_MODE_0_1_FUNCTION       1
#define AVR32_LCDC_PCLK_0_PIN              85
#define AVR32_LCDC_PCLK_0_FUNCTION         0
#define AVR32_LCDC_PWR_0_PIN               89
#define AVR32_LCDC_PWR_0_FUNCTION          0
#define AVR32_LCDC_VSYNC_0_PIN             86
#define AVR32_LCDC_VSYNC_0_FUNCTION        0



/* MACB */
#include "avr32/macb_112.h"

/* MACB0 */ 
#define AVR32_MACB0_ADDRESS                0xFFF01800
#define AVR32_MACB0                        (*((volatile avr32_macb_t*)AVR32_MACB0_ADDRESS))
#define AVR32_MACB0_IRQ                    800
#define AVR32_MACB0_APB_RMIIB_PADDR_MSB    0
#define AVR32_MACB0_HADDR_SIZE             0
#define AVR32_MACB0_HBURST_SIZE            0
#define AVR32_MACB0_HDATA_SIZE             0
#define AVR32_MACB0_HPROT_SIZE             0
#define AVR32_MACB0_HRESP_SIZE             0
#define AVR32_MACB0_HSIZE_SIZE             0
#define AVR32_MACB0_HTRANS_SIZE            0
#define AVR32_MACB0_PDATA_SIZE             0
#define AVR32_MACB0_COL_0_PIN              64
#define AVR32_MACB0_COL_0_FUNCTION         0
#define AVR32_MACB0_CRS_0_PIN              65
#define AVR32_MACB0_CRS_0_FUNCTION         0
#define AVR32_MACB0_MDC_0_PIN              80
#define AVR32_MACB0_MDC_0_FUNCTION         0
#define AVR32_MACB0_MDIO_0_PIN             81
#define AVR32_MACB0_MDIO_0_FUNCTION        0
#define AVR32_MACB0_RXD_0_PIN              73
#define AVR32_MACB0_RXD_0_FUNCTION         0
#define AVR32_MACB0_RXD_1_PIN              74
#define AVR32_MACB0_RXD_1_FUNCTION         0
#define AVR32_MACB0_RXD_2_PIN              75
#define AVR32_MACB0_RXD_2_FUNCTION         0
#define AVR32_MACB0_RXD_3_PIN              76
#define AVR32_MACB0_RXD_3_FUNCTION         0
#define AVR32_MACB0_RX_CLK_0_PIN           78
#define AVR32_MACB0_RX_CLK_0_FUNCTION      0
#define AVR32_MACB0_RX_DV_0_PIN            79
#define AVR32_MACB0_RX_DV_0_FUNCTION       0
#define AVR32_MACB0_RX_ER_0_PIN            77
#define AVR32_MACB0_RX_ER_0_FUNCTION       0
#define AVR32_MACB0_SPEED_0_PIN            82
#define AVR32_MACB0_SPEED_0_FUNCTION       0
#define AVR32_MACB0_TXD_0_PIN              67
#define AVR32_MACB0_TXD_0_FUNCTION         0
#define AVR32_MACB0_TXD_1_PIN              68
#define AVR32_MACB0_TXD_1_FUNCTION         0
#define AVR32_MACB0_TXD_2_PIN              69
#define AVR32_MACB0_TXD_2_FUNCTION         0
#define AVR32_MACB0_TXD_3_PIN              70
#define AVR32_MACB0_TXD_3_FUNCTION         0
#define AVR32_MACB0_TX_CLK_0_PIN           72
#define AVR32_MACB0_TX_CLK_0_FUNCTION      0
#define AVR32_MACB0_TX_EN_0_PIN            71
#define AVR32_MACB0_TX_EN_0_FUNCTION       0
#define AVR32_MACB0_TX_ER_0_PIN            66
#define AVR32_MACB0_TX_ER_0_FUNCTION       0


/* MACB1 */ 
#define AVR32_MACB1_ADDRESS                0xFFF01C00
#define AVR32_MACB1                        (*((volatile avr32_macb_t*)AVR32_MACB1_ADDRESS))
#define AVR32_MACB1_IRQ                    832
#define AVR32_MACB1_APB_RMIIB_PADDR_MSB    0
#define AVR32_MACB1_HADDR_SIZE             0
#define AVR32_MACB1_HBURST_SIZE            0
#define AVR32_MACB1_HDATA_SIZE             0
#define AVR32_MACB1_HPROT_SIZE             0
#define AVR32_MACB1_HRESP_SIZE             0
#define AVR32_MACB1_HSIZE_SIZE             0
#define AVR32_MACB1_HTRANS_SIZE            0
#define AVR32_MACB1_PDATA_SIZE             0
#define AVR32_MACB1_COL_0_PIN              83
#define AVR32_MACB1_COL_0_FUNCTION         1
#define AVR32_MACB1_CRS_0_PIN              87
#define AVR32_MACB1_CRS_0_FUNCTION         1
#define AVR32_MACB1_MDC_0_PIN              99
#define AVR32_MACB1_MDC_0_FUNCTION         1
#define AVR32_MACB1_MDIO_0_PIN             98
#define AVR32_MACB1_MDIO_0_FUNCTION        1
#define AVR32_MACB1_RXD_2_PIN              93
#define AVR32_MACB1_RXD_2_FUNCTION         1
#define AVR32_MACB1_RXD_3_PIN              94
#define AVR32_MACB1_RXD_3_FUNCTION         1
#define AVR32_MACB1_RXD_1_PIN              102
#define AVR32_MACB1_RXD_1_FUNCTION         1
#define AVR32_MACB1_RXD_0_PIN              106
#define AVR32_MACB1_RXD_0_FUNCTION         1
#define AVR32_MACB1_RX_CLK_0_PIN           88
#define AVR32_MACB1_RX_CLK_0_FUNCTION      1
#define AVR32_MACB1_RX_DV_0_PIN            100
#define AVR32_MACB1_RX_DV_0_FUNCTION       1
#define AVR32_MACB1_RX_ER_0_PIN            101
#define AVR32_MACB1_RX_ER_0_FUNCTION       1
#define AVR32_MACB1_SPEED_0_PIN            111
#define AVR32_MACB1_SPEED_0_FUNCTION       1
#define AVR32_MACB1_TXD_2_PIN              91
#define AVR32_MACB1_TXD_2_FUNCTION         1
#define AVR32_MACB1_TXD_3_PIN              92
#define AVR32_MACB1_TXD_3_FUNCTION         1
#define AVR32_MACB1_TXD_0_PIN              109
#define AVR32_MACB1_TXD_0_FUNCTION         1
#define AVR32_MACB1_TXD_1_PIN              110
#define AVR32_MACB1_TXD_1_FUNCTION         1
#define AVR32_MACB1_TX_CLK_0_PIN           108
#define AVR32_MACB1_TX_CLK_0_FUNCTION      1
#define AVR32_MACB1_TX_EN_0_PIN            107
#define AVR32_MACB1_TX_EN_0_FUNCTION       1
#define AVR32_MACB1_TX_ER_0_PIN            90
#define AVR32_MACB1_TX_ER_0_FUNCTION       1



/* MMCI */
#include "avr32/mmci_210.h"

/* MMCI */ 
#define AVR32_MMCI_ADDRESS                 0xFFF02400
#define AVR32_MMCI                         (*((volatile avr32_mmci_t*)AVR32_MMCI_ADDRESS))
#define AVR32_MMCI_IRQ                     896
#define AVR32_MMCI_APB_MMCI_PADDR_MSB      0
#define AVR32_MMCI_MMCI_SDCARD             2
#define AVR32_MMCI_PDATA_SIZE              0
#define AVR32_MMCI_CLK_0_PIN               10
#define AVR32_MMCI_CLK_0_FUNCTION          0
#define AVR32_MMCI_CMD_0_PIN               11
#define AVR32_MMCI_CMD_0_FUNCTION          0
#define AVR32_MMCI_CMD_1_PIN               38
#define AVR32_MMCI_CMD_1_FUNCTION          1
#define AVR32_MMCI_DATA_0_PIN              12
#define AVR32_MMCI_DATA_0_FUNCTION         0
#define AVR32_MMCI_DATA_1_PIN              13
#define AVR32_MMCI_DATA_1_FUNCTION         0
#define AVR32_MMCI_DATA_2_PIN              14
#define AVR32_MMCI_DATA_2_FUNCTION         0
#define AVR32_MMCI_DATA_3_PIN              15
#define AVR32_MMCI_DATA_3_FUNCTION         0
#define AVR32_MMCI_DATA_4_PIN              39
#define AVR32_MMCI_DATA_4_FUNCTION         1
#define AVR32_MMCI_DATA_5_PIN              40
#define AVR32_MMCI_DATA_5_FUNCTION         1
#define AVR32_MMCI_DATA_6_PIN              41
#define AVR32_MMCI_DATA_6_FUNCTION         1
#define AVR32_MMCI_DATA_7_PIN              42
#define AVR32_MMCI_DATA_7_FUNCTION         1



/* PIO */
#include "avr32/pio2_202.h"

/* PIOA */ 
#define AVR32_PIOA_ADDRESS                 0xFFE02800
#define AVR32_PIOA                         (*((volatile avr32_pio_t*)AVR32_PIOA_ADDRESS))
#define AVR32_PIOA_IRQ                     416
#define AVR32_PIOA_APB_PIO2_PADDR_MSB      0
#define AVR32_PIOA_PDATA_SIZE              0
#define AVR32_PIOA_PIOA_LINES              32


/* PIOB */ 
#define AVR32_PIOB_ADDRESS                 0xFFE02C00
#define AVR32_PIOB                         (*((volatile avr32_pio_t*)AVR32_PIOB_ADDRESS))
#define AVR32_PIOB_IRQ                     448
#define AVR32_PIOB_APB_PIO2_PADDR_MSB      0
#define AVR32_PIOB_PDATA_SIZE              0
#define AVR32_PIOB_PIOB_LINES              31


/* PIOC */ 
#define AVR32_PIOC_ADDRESS                 0xFFE03000
#define AVR32_PIOC                         (*((volatile avr32_pio_t*)AVR32_PIOC_ADDRESS))
#define AVR32_PIOC_IRQ                     480
#define AVR32_PIOC_APB_PIO2_PADDR_MSB      0
#define AVR32_PIOC_PDATA_SIZE              0
#define AVR32_PIOC_PIOC_LINES              32


/* PIOD */ 
#define AVR32_PIOD_ADDRESS                 0xFFE03400
#define AVR32_PIOD                         (*((volatile avr32_pio_t*)AVR32_PIOD_ADDRESS))
#define AVR32_PIOD_IRQ                     512
#define AVR32_PIOD_APB_PIO2_PADDR_MSB      0
#define AVR32_PIOD_PDATA_SIZE              0
#define AVR32_PIOD_PIOD_LINES              19


/* PIOE */ 
#define AVR32_PIOE_ADDRESS                 0xFFE03800
#define AVR32_PIOE                         (*((volatile avr32_pio_t*)AVR32_PIOE_ADDRESS))
#define AVR32_PIOE_IRQ                     544
#define AVR32_PIOE_APB_PIO2_PADDR_MSB      0
#define AVR32_PIOE_PDATA_SIZE              0
#define AVR32_PIOE_PIOE_LINES              27



/* PSIF */
#include "avr32/psif_100.h"

/* PSIF */ 
#define AVR32_PSIF_ADDRESS                 0xFFE03C00
#define AVR32_PSIF                         (*((volatile avr32_psif_t*)AVR32_PSIF_ADDRESS))
#define AVR32_PSIF_IRQ                     576
#define AVR32_PSIF_CLOCK_0_PIN             8
#define AVR32_PSIF_CLOCK_0_FUNCTION        0
#define AVR32_PSIF_CLOCK_1_PIN             43
#define AVR32_PSIF_CLOCK_1_FUNCTION        0
#define AVR32_PSIF_DATA_0_PIN              9
#define AVR32_PSIF_DATA_0_FUNCTION         0
#define AVR32_PSIF_DATA_1_PIN              44
#define AVR32_PSIF_DATA_1_FUNCTION         0



/* PWM */
#include "avr32/pwm_120.h"

/* PWM */ 
#define AVR32_PWM_ADDRESS                  0xFFF01400
#define AVR32_PWM                          (*((volatile avr32_pwm_t*)AVR32_PWM_ADDRESS))
#define AVR32_PWM_IRQ                      768
#define AVR32_PWM_PADDR_MSB                0
#define AVR32_PWM_PDATA_MSB                0
#define AVR32_PWM_PWM_LINES_MSB            3
#define AVR32_PWM_PWM_0_PIN                28
#define AVR32_PWM_PWM_0_FUNCTION           0
#define AVR32_PWM_PWM_1_PIN                29
#define AVR32_PWM_PWM_1_FUNCTION           0
#define AVR32_PWM_PWM_2_PIN                21
#define AVR32_PWM_PWM_2_FUNCTION           1
#define AVR32_PWM_PWM_3_PIN                22
#define AVR32_PWM_PWM_3_FUNCTION           1



/* SM */
#include "avr32/sm_100.h"

/* SM */ 
#define AVR32_SM_ADDRESS                   0xFFF00000
#define AVR32_SM                           (*((volatile avr32_sm_t*)AVR32_SM_ADDRESS))
#define AVR32_SM_EIM_IRQ_0                608
#define AVR32_SM_EIM_IRQ_1                609
#define AVR32_SM_EIM_IRQ_2                610
#define AVR32_SM_EIM_IRQ_3                611
#define AVR32_SM_EIM_NMI_IRQ               NMI
#define AVR32_SM_PM_IRQ                    640
#define AVR32_SM_RTC_IRQ                   672
#define AVR32_SM_EIM_INT_MSB               3
#define AVR32_SM_GCLK_MSB                  4
#define AVR32_SM_GCLK_0_PIN                30
#define AVR32_SM_GCLK_0_FUNCTION           0
#define AVR32_SM_GCLK_1_PIN                31
#define AVR32_SM_GCLK_1_FUNCTION           0
#define AVR32_SM_GCLK_2_PIN                51
#define AVR32_SM_GCLK_2_FUNCTION           0
#define AVR32_SM_GCLK_3_PIN                61
#define AVR32_SM_GCLK_3_FUNCTION           0
#define AVR32_SM_GCLK_4_PIN                62
#define AVR32_SM_GCLK_4_FUNCTION           0



/* SPI */
#include "avr32/spi2_171.h"

/* SPI0 */ 
#define AVR32_SPI0_ADDRESS                 0xFFE00000
#define AVR32_SPI0                         (*((volatile avr32_spi_t*)AVR32_SPI0_ADDRESS))
#define AVR32_SPI0_IRQ                     96
#define AVR32_SPI0_SPI_CS_MSB              3
#define AVR32_SPI0_MISO_0_PIN              0
#define AVR32_SPI0_MISO_0_FUNCTION         0
#define AVR32_SPI0_MOSI_0_PIN              1
#define AVR32_SPI0_MOSI_0_FUNCTION         0
#define AVR32_SPI0_NPCS_0_PIN              3
#define AVR32_SPI0_NPCS_0_FUNCTION         0
#define AVR32_SPI0_NPCS_1_PIN              4
#define AVR32_SPI0_NPCS_1_FUNCTION         0
#define AVR32_SPI0_NPCS_2_PIN              5
#define AVR32_SPI0_NPCS_2_FUNCTION         0
#define AVR32_SPI0_NPCS_3_PIN              20
#define AVR32_SPI0_NPCS_3_FUNCTION         1
#define AVR32_SPI0_SCK_0_PIN               2
#define AVR32_SPI0_SCK_0_FUNCTION          0


/* SPI1 */ 
#define AVR32_SPI1_ADDRESS                 0xFFE00400
#define AVR32_SPI1                         (*((volatile avr32_spi_t*)AVR32_SPI1_ADDRESS))
#define AVR32_SPI1_IRQ                     128
#define AVR32_SPI1_SPI_CS_MSB              3
#define AVR32_SPI1_MISO_0_PIN              32
#define AVR32_SPI1_MISO_0_FUNCTION         1
#define AVR32_SPI1_MOSI_0_PIN              33
#define AVR32_SPI1_MOSI_0_FUNCTION         1
#define AVR32_SPI1_NPCS_3_PIN              27
#define AVR32_SPI1_NPCS_3_FUNCTION         0
#define AVR32_SPI1_NPCS_0_PIN              34
#define AVR32_SPI1_NPCS_0_FUNCTION         1
#define AVR32_SPI1_NPCS_1_PIN              35
#define AVR32_SPI1_NPCS_1_FUNCTION         1
#define AVR32_SPI1_NPCS_2_PIN              36
#define AVR32_SPI1_NPCS_2_FUNCTION         1
#define AVR32_SPI1_SCK_0_PIN               37
#define AVR32_SPI1_SCK_0_FUNCTION          1



/* SSC */
#include "avr32/ssc_220.h"

/* SSC0 */ 
#define AVR32_SSC0_ADDRESS                 0xFFE01C00
#define AVR32_SSC0                         (*((volatile avr32_ssc_t*)AVR32_SSC0_ADDRESS))
#define AVR32_SSC0_IRQ                     320
#define AVR32_SSC0_APB_SSC_PADDR_MSB       8
#define AVR32_SSC0_PDATA_SIZE              32
#define AVR32_SSC0_SSC_TRANS_SIZE          2
#define AVR32_SSC0_RX_CLOCK_0_PIN          22
#define AVR32_SSC0_RX_CLOCK_0_FUNCTION     0
#define AVR32_SSC0_RX_DATA_0_PIN           26
#define AVR32_SSC0_RX_DATA_0_FUNCTION      0
#define AVR32_SSC0_RX_FRAME_SYNC_0_PIN     21
#define AVR32_SSC0_RX_FRAME_SYNC_0_FUNCTION 0
#define AVR32_SSC0_TX_CLOCK_0_PIN          23
#define AVR32_SSC0_TX_CLOCK_0_FUNCTION     0
#define AVR32_SSC0_TX_DATA_0_PIN           25
#define AVR32_SSC0_TX_DATA_0_FUNCTION      0
#define AVR32_SSC0_TX_FRAME_SYNC_0_PIN     24
#define AVR32_SSC0_TX_FRAME_SYNC_0_FUNCTION 0


/* SSC1 */ 
#define AVR32_SSC1_ADDRESS                 0xFFE02000
#define AVR32_SSC1                         (*((volatile avr32_ssc_t*)AVR32_SSC1_ADDRESS))
#define AVR32_SSC1_IRQ                     352
#define AVR32_SSC1_APB_SSC_PADDR_MSB       8
#define AVR32_SSC1_PDATA_SIZE              32
#define AVR32_SSC1_SSC_TRANS_SIZE          2
#define AVR32_SSC1_RX_CLOCK_0_PIN          3
#define AVR32_SSC1_RX_CLOCK_0_FUNCTION     1
#define AVR32_SSC1_RX_DATA_0_PIN           5
#define AVR32_SSC1_RX_DATA_0_FUNCTION      1
#define AVR32_SSC1_RX_FRAME_SYNC_0_PIN     0
#define AVR32_SSC1_RX_FRAME_SYNC_0_FUNCTION 1
#define AVR32_SSC1_TX_CLOCK_0_PIN          2
#define AVR32_SSC1_TX_CLOCK_0_FUNCTION     1
#define AVR32_SSC1_TX_DATA_0_PIN           4
#define AVR32_SSC1_TX_DATA_0_FUNCTION      1
#define AVR32_SSC1_TX_FRAME_SYNC_0_PIN     1
#define AVR32_SSC1_TX_FRAME_SYNC_0_FUNCTION 1


/* SSC2 */ 
#define AVR32_SSC2_ADDRESS                 0xFFE02400
#define AVR32_SSC2                         (*((volatile avr32_ssc_t*)AVR32_SSC2_ADDRESS))
#define AVR32_SSC2_IRQ                     384
#define AVR32_SSC2_APB_SSC_PADDR_MSB       8
#define AVR32_SSC2_PDATA_SIZE              32
#define AVR32_SSC2_SSC_TRANS_SIZE          2
#define AVR32_SSC2_RX_CLOCK_0_PIN          50
#define AVR32_SSC2_RX_CLOCK_0_FUNCTION     0
#define AVR32_SSC2_RX_DATA_0_PIN           46
#define AVR32_SSC2_RX_DATA_0_FUNCTION      0
#define AVR32_SSC2_RX_FRAME_SYNC_0_PIN     49
#define AVR32_SSC2_RX_FRAME_SYNC_0_FUNCTION 0
#define AVR32_SSC2_TX_CLOCK_0_PIN          47
#define AVR32_SSC2_TX_CLOCK_0_FUNCTION     0
#define AVR32_SSC2_TX_DATA_0_PIN           45
#define AVR32_SSC2_TX_DATA_0_FUNCTION      0
#define AVR32_SSC2_TX_FRAME_SYNC_0_PIN     48
#define AVR32_SSC2_TX_FRAME_SYNC_0_FUNCTION 0



/* TIMER */
#include "avr32/timer1_221.h"

/* TIMER0 */ 
#define AVR32_TIMER0_ADDRESS               0xFFF00C00
#define AVR32_TIMER0                       (*((volatile avr32_timer_t*)AVR32_TIMER0_ADDRESS))
#define AVR32_TIMER0_IRQ0                  704
#define AVR32_TIMER0_IRQ1                  705
#define AVR32_TIMER0_IRQ2                  706
#define AVR32_TIMER0_APB_TIMER1_PADDR_MSB  0
#define AVR32_TIMER0_PDATA_SIZE            0
#define AVR32_TIMER0_A0_0_PIN              12
#define AVR32_TIMER0_A0_0_FUNCTION         1
#define AVR32_TIMER0_A1_0_PIN              13
#define AVR32_TIMER0_A1_0_FUNCTION         1
#define AVR32_TIMER0_A2_0_PIN              14
#define AVR32_TIMER0_A2_0_FUNCTION         1
#define AVR32_TIMER0_B0_0_PIN              15
#define AVR32_TIMER0_B0_0_FUNCTION         1
#define AVR32_TIMER0_B1_0_PIN              16
#define AVR32_TIMER0_B1_0_FUNCTION         1
#define AVR32_TIMER0_B2_0_PIN              17
#define AVR32_TIMER0_B2_0_FUNCTION         1
#define AVR32_TIMER0_CLK0_0_PIN            11
#define AVR32_TIMER0_CLK0_0_FUNCTION       1
#define AVR32_TIMER0_CLK1_0_PIN            19
#define AVR32_TIMER0_CLK1_0_FUNCTION       1
#define AVR32_TIMER0_CLK2_0_PIN            18
#define AVR32_TIMER0_CLK2_0_FUNCTION       1


/* TIMER1 */ 
#define AVR32_TIMER1_ADDRESS               0xFFF01000
#define AVR32_TIMER1                       (*((volatile avr32_timer_t*)AVR32_TIMER1_ADDRESS))
#define AVR32_TIMER1_IRQ0                  736
#define AVR32_TIMER1_IRQ1                  737
#define AVR32_TIMER1_IRQ2                  738
#define AVR32_TIMER1_APB_TIMER1_PADDR_MSB  0
#define AVR32_TIMER1_PDATA_SIZE            0
#define AVR32_TIMER1_A0_0_PIN              23
#define AVR32_TIMER1_A0_0_FUNCTION         1
#define AVR32_TIMER1_A1_0_PIN              24
#define AVR32_TIMER1_A1_0_FUNCTION         1
#define AVR32_TIMER1_A2_0_PIN              28
#define AVR32_TIMER1_A2_0_FUNCTION         1
#define AVR32_TIMER1_B0_0_PIN              25
#define AVR32_TIMER1_B0_0_FUNCTION         1
#define AVR32_TIMER1_B1_0_PIN              26
#define AVR32_TIMER1_B1_0_FUNCTION         1
#define AVR32_TIMER1_B2_0_PIN              29
#define AVR32_TIMER1_B2_0_FUNCTION         1
#define AVR32_TIMER1_CLK0_0_PIN            27
#define AVR32_TIMER1_CLK0_0_FUNCTION       1
#define AVR32_TIMER1_CLK1_0_PIN            30
#define AVR32_TIMER1_CLK1_0_FUNCTION       1
#define AVR32_TIMER1_CLK2_0_PIN            31
#define AVR32_TIMER1_CLK2_0_FUNCTION       1



/* TWI */
#include "avr32/twi_180.h"

/* TWI */ 
#define AVR32_TWI_ADDRESS                  0xFFE00800
#define AVR32_TWI                          (*((volatile avr32_twi_t*)AVR32_TWI_ADDRESS))
#define AVR32_TWI_IRQ                      160
#define AVR32_TWI_APB_TWI_PADDR_MSB        0
#define AVR32_TWI_PDATA_SIZE               0
#define AVR32_TWI_SCL_0_PIN                7
#define AVR32_TWI_SCL_0_FUNCTION           0
#define AVR32_TWI_SDA_0_PIN                6
#define AVR32_TWI_SDA_0_FUNCTION           0



/* USART */
#include "avr32/usart3_302.h"

/* USART0 */ 
#define AVR32_USART0_ADDRESS               0xFFE00C00
#define AVR32_USART0                       (*((volatile avr32_usart_t*)AVR32_USART0_ADDRESS))
#define AVR32_USART0_IRQ                   192
#define AVR32_USART0_PADDR_MSB             0
#define AVR32_USART0_PDATA_MSB             0
#define AVR32_USART0_CLK_0_PIN             10
#define AVR32_USART0_CLK_0_FUNCTION        1
#define AVR32_USART0_CTS_0_PIN             7
#define AVR32_USART0_CTS_0_FUNCTION        1
#define AVR32_USART0_RTS_0_PIN             6
#define AVR32_USART0_RTS_0_FUNCTION        1
#define AVR32_USART0_RXD_0_PIN             8
#define AVR32_USART0_RXD_0_FUNCTION        1
#define AVR32_USART0_TXD_0_PIN             9
#define AVR32_USART0_TXD_0_FUNCTION        1


/* USART1 */ 
#define AVR32_USART1_ADDRESS               0xFFE01000
#define AVR32_USART1                       (*((volatile avr32_usart_t*)AVR32_USART1_ADDRESS))
#define AVR32_USART1_IRQ                   224
#define AVR32_USART1_PADDR_MSB             0
#define AVR32_USART1_PDATA_MSB             0
#define AVR32_USART1_CLK_0_PIN             16
#define AVR32_USART1_CLK_0_FUNCTION        0
#define AVR32_USART1_CTS_0_PIN             20
#define AVR32_USART1_CTS_0_FUNCTION        0
#define AVR32_USART1_RTS_0_PIN             19
#define AVR32_USART1_RTS_0_FUNCTION        0
#define AVR32_USART1_RXD_0_PIN             17
#define AVR32_USART1_RXD_0_FUNCTION        0
#define AVR32_USART1_TXD_0_PIN             18
#define AVR32_USART1_TXD_0_FUNCTION        0


/* USART2 */ 
#define AVR32_USART2_ADDRESS               0xFFE01400
#define AVR32_USART2                       (*((volatile avr32_usart_t*)AVR32_USART2_ADDRESS))
#define AVR32_USART2_IRQ                   256
#define AVR32_USART2_PADDR_MSB             0
#define AVR32_USART2_PDATA_MSB             0
#define AVR32_USART2_CLK_0_PIN             60
#define AVR32_USART2_CLK_0_FUNCTION        1
#define AVR32_USART2_CTS_0_PIN             61
#define AVR32_USART2_CTS_0_FUNCTION        1
#define AVR32_USART2_RTS_0_PIN             62
#define AVR32_USART2_RTS_0_FUNCTION        1
#define AVR32_USART2_RXD_0_PIN             58
#define AVR32_USART2_RXD_0_FUNCTION        1
#define AVR32_USART2_TXD_0_PIN             59
#define AVR32_USART2_TXD_0_FUNCTION        1


/* USART3 */ 
#define AVR32_USART3_ADDRESS               0xFFE01800
#define AVR32_USART3                       (*((volatile avr32_usart_t*)AVR32_USART3_ADDRESS))
#define AVR32_USART3_IRQ                   288
#define AVR32_USART3_PADDR_MSB             0
#define AVR32_USART3_PDATA_MSB             0
#define AVR32_USART3_CLK_0_PIN             51
#define AVR32_USART3_CLK_0_FUNCTION        1
#define AVR32_USART3_CTS_0_PIN             47
#define AVR32_USART3_CTS_0_FUNCTION        1
#define AVR32_USART3_RTS_0_PIN             48
#define AVR32_USART3_RTS_0_FUNCTION        1
#define AVR32_USART3_RXD_0_PIN             50
#define AVR32_USART3_RXD_0_FUNCTION        1
#define AVR32_USART3_TXD_0_PIN             49
#define AVR32_USART3_TXD_0_FUNCTION        1



/* USB */
#include "avr32/usb_040.h"

/* USB */ 
#define AVR32_USB_ADDRESS                  0xFFF03000
#define AVR32_USB                          (*((volatile avr32_usb_t*)AVR32_USB_ADDRESS))
#define AVR32_USB_FIFO_ADDRESS             0xFF300000
#define AVR32_USB_FIFO_SIZE                0x100000
#define AVR32_USB_FIFO                     ((volatile unsigned char *)AVR32_USB_FIFO_ADDRESS)
#define AVR32_USB_IRQ                      992
#define AVR32_USB_APB_USB_PADDR_MSB        0
#define AVR32_USB_HADDR_SIZE               0
#define AVR32_USB_HBURST_SIZE              0
#define AVR32_USB_HDATA_SIZE               0
#define AVR32_USB_HPROT_SIZE               0
#define AVR32_USB_HRESP_SIZE               0
#define AVR32_USB_HSIZE_SIZE               0
#define AVR32_USB_HTRANS_SIZE              0
#define AVR32_USB_PDATA_SIZE               0



/* #ifndef AVR32_AP7000_H_INCLUDED */
#endif
